package cn.zyq.baking.exception;

import cn.zyq.baking.commons.response.StatusCode;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ServiceException  extends  RuntimeException{
    private StatusCode statusCode;
    public ServiceException(StatusCode statusCode) {
        this.statusCode=statusCode;
    }

}
